/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 100%;
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2 {
    text-align: center;
}

/* Dark Theme */
body.dark-theme {
    background-color: #333;
    color: #fff;
}

body.dark-theme .container {
    background-color: #444;
    color: #fff;
}

body.dark-theme .tab-link {
    background-color: #555;
}

body.dark-theme .tab-link.active {
    background-color: #666;
}

body.dark-theme .tab-link:hover {
    background-color: #777;
}

body.dark-theme #cron-expression-output,
body.dark-theme #execution-times-list {
    background-color: #555;
    border-color: #666;
}

/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab-link {
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
    flex: 1 1 auto;
    transition: background-color 0.3s;
}

.tab-link.active {
    background-color: #218838;
}

.tab-link:hover {
    background-color: #1e7e34;
}

.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin: 5px;
}

/* Output Section */
.output-section {
    margin-top: 20px;
}

#cron-expression-output {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: monospace;
    transition: background-color 0.3s, border-color 0.3s;
}

button {
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #218838;
}

/* Execution Times */
.execution-times {
    margin-top: 20px;
}

#execution-times-list {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.theme-toggle:hover {
    background-color: #218838;
}